package com.haiertvbic.tvnow.common;

import java.util.ArrayList;

import android.R.integer;
import android.app.Activity;
import android.app.Application;
/**
 * 
 * @author lb
 *
 */
public class AppManager extends Application {

	public static ArrayList<Activity> activityList = new ArrayList<Activity>();
	@Override
	public void onCreate() {
		super.onCreate();
	}
	
	public static void addActivity(Activity act){
		activityList.add(act);
	}
	
	public static Activity getActivity(int i){
		
		return activityList.get(i);
	}

}
